home *** CD-ROM | disk | FTP | other *** search
/ Sound Fx / Sound Fx.iso / Software / UNZIPED / MPW181-5 / _SETUP.1 / MP2WIN32.TXT < prev    next >
Text File  |  1997-04-21  |  14KB  |  310 lines

  1.                            Maplay 1.2+ for Win32
  2.  
  3.                                   Web Site
  4.  
  5.                        Last modified: April 20, 1997
  6. ---------------------------------------------------------------------------
  7.  
  8.                        Newest version released: 1.81
  9.  
  10. Latest News:
  11.  
  12. The layer III version of maplay 1.2+ for Win32 is now available, including
  13. the complete source code! It requires at least a Pentium-60 CPU for stereo
  14. layer III streams. The overall performance of the decoder, for all layers
  15. has increased. See the file whatsnew.txt for a complete description of the
  16. changes.
  17.  
  18. This version should be very portable because I spent a lot of time making
  19. it so. I also did a minor port to the Win32 console. See the porting
  20. section for information.
  21.  
  22. This console version for Win32s is also now available! It should work on
  23. Windows 3.1 systems with Win32s installed.
  24.  
  25. Anyone who is interested in purchasing a DLL, let me know.
  26.  
  27. The layer III decoder of maplay is highly optimized from the original
  28. public c source, but still is quite CPU intensive. If you are interested in
  29. making optimizations (and getting a share of the glory) please don't bother
  30. with the following functions, which I've already gotten optimizations for:
  31.  
  32.    * Bit_Reserve::get_bits()
  33.    * Ibitstream::read_buffer()
  34.  
  35. Optimizations for any other functions are welcomed. Send them to
  36. ctsay@pasteur.eecs.berkeley.edu!
  37.  
  38. What is maplay 1.2?
  39.  
  40. Maplay 1.2 is a program written for UNIX systems by Tobias Bading. What it
  41. does is decodes MPEG Audio Layer I and II files, which are factor of 6-12
  42. times smaller than uncompressed audio (like Windows PCM WAVE, Sun AU, or
  43. Mac AIFF files). Despite the huge compression, there is no audible signal
  44. loss! Using MPEG Audio Layer III, you can retain CD-quality sound at
  45. compression ratios around 1:11 (112 kbit/s). Unfortunately, decoding MPEG
  46. audio streams is a very CPU intensive process. And until now, there have
  47. been no fully-featured decoders available for Windows.
  48.  
  49. What is maplay 1.2+ for Win32?
  50.  
  51. Thanks to Bading's hard work in maintaining portability in maplay, I was
  52. able to re-target maplay to run on the Windows 95 and Windows NT operating
  53. systems. I also added a few features such as WAV playing, pausing,
  54. stopping, and repeating MPEG audio playback. It took about 4 weeks, since I
  55. had no prior Windows programming experience. Now after a year of work,
  56. maplay 1.2+ for Win32 also has support for layer III MPEG-1 audio streams.
  57.  
  58. What do I need to run maplay 1.2+ for Win32?
  59.  
  60. Maplay 1.2+ for Win32 requires the following hardware and software to run:
  61.  
  62.    * 486 or higher CPU (Pentium required for stereo playback.)
  63.    * Either the Windows 95 or Windows NT operating system. It will not run
  64.      on Windows 3.1 or lower operating systems, even if you have Win32s.
  65.      However, there is now a console version that should run on Windows 3.1
  66.      with Win32s (someone please confirm this).
  67.    * A 16-bit sound card, and the appropriate driver for Windows. (I have
  68.      reports that 8-bit sound cards such as the SB Pro and SB work as
  69.      well.)
  70.  
  71. What about the competition?
  72.  
  73. Ever since maplay 1.2 for Win32 was released, many other MPEG audio
  74. decoders for Windows have also been released. But I still think maplay 1.2
  75. for Win32 is still the best! Compare the features in the following table:
  76.  
  77.  Program        Layer  Layer  Layer  WAV   Bits/sample   Sample   Stereo
  78.                 I      II     III                        freq.
  79.  
  80.  XingSound1     ?      Yes    No     Yes   162           22.0     No
  81.                                                          kHz
  82.  
  83.  AMAPLAY        ?      Yes    No     No    16            48.0     Yes
  84.                                                          kHz
  85.  Philips                                                 48.0
  86.  mpgplay        No     Yes    No     No    16            kHz      Yes
  87.  
  88.  ActiveMovie    ?      Yes    No     Yes4  16            48.0     Yes
  89.                                                          kHz
  90.  
  91.  WinPlay3       No     No     Yes    No    16            48.0     Yes
  92.                                                          kHz
  93.  
  94.  museArc        No     Yes    Yes    No    16            48.0     Yes
  95.                                                          kHz
  96.  maplay for                                              48.0
  97.  Win32          Yes    Yes    Yes    Yes   16            kHz      Yes
  98.  
  99.  Program     Seeks  Playlists  Interface  Win3.1 Win95  WinNT  Distributed
  100.                                                                As:
  101.  XingSound   Yes    No         OK         Yes    Yes3   Yes3   Freeware
  102.  
  103.  AMAPLAY     Yes    No         Ugly!      No     Yes3   Yes3   Shareware
  104.  Philips                                         Yes3   Yes3
  105.  mpgplay     No     No         Good       No                   Freeware
  106.  
  107.  ActiveMovie Yes    No         Media      No     Yes    Yes    Freeware
  108.                                Player
  109.  WinPlay3    No     Yes        Good       Yes    Yes3   Yes3   Shareware
  110.  museArc     Yes    Yes        OK         Yes    Yes    Yes    Shareware
  111.  maplay for
  112.  Win32       Yes    Yes        Good       No     Yes    Yes    Freeware
  113. 1Freeware version of XingSound. There is a full-featured version, but it is
  114. not free.
  115. 2Low precision
  116. 3Not a native 32-bit program
  117. 4Through Media Player
  118.  
  119. I have to admit that WinPlay3 is a great program. Unlike maplay 1.2+ for
  120. Win32, it has very low CPU utilization, support for MPEG-2 Low Frequency
  121. Extension files, and the ability to play a file from a URL. maplay 1.2+
  122. currently has none of these features, but check back here often for
  123. updates! (But maplay 1.2+ for Win32 does have support for seeks, unlike
  124. WinPlay3.) Anyway, I don't like Fraunhoffer because they have a monopoly
  125. over Layer III products. Their encoder and decoder programs are severely
  126. crippled.
  127.  
  128. museArc has a 60 second restriction on playback time. The non-hacked
  129. version of WinPlay3 has a 20 second restriction on playback time.
  130. Ridiculous!
  131.  
  132. Should I even consider WinPlay3 at all?
  133.  
  134. Yes. Maplay 1.2+ for Win32 takes more CPU time to decode stereo layer III
  135. files than WinPlay3. Also, WinPlay3 has several modes that tradeoff audio
  136. quality for CPU usage. In general, WinPlay3 requires about 2/3 of the CPU
  137. time that maplay 1.2+ for Win32 does. So your background tasks will also
  138. execute faster if you are using WinPlay3. However, WinPlay3 lacks the
  139. ability to seek within a stream, and the highest playback quality is the
  140. same as maplay's.
  141.  
  142. Besides speed, WinPlay3 also decodes MPEG-2 LSF streams which maplay 1.2+
  143. does not support yet.
  144.  
  145. What kind of interface does the program have?
  146.  
  147. Check out the Maplay 1.2+ for Win32 Gallery!
  148.  
  149. Cool. Where can I get maplay for Win32, and how do I install it?
  150.  
  151. Maplay for Win32, version 1.81, is available here (on my shell account on
  152. cory, a Berkeley EECS server) in following four flavors:
  153.                                        486         Pentium
  154.             InstallShield Setup   mpw181-4.zip   mpw181-5.zip
  155.             No Installshield      mpw4nois.zip   mpw5nois.zip
  156.  
  157. A few notes on installing:
  158.  
  159.    * The InstallShield Setup takes longer to download but will
  160.      automatically configure everything for you. If you have WinZip, you
  161.      can simply open the archive with WinZip, choose the file "setup.exe"
  162.      and select the menu option Action...Install. If you are having
  163.      difficulties (getting stuck at 42%, etc.), close all of your other
  164.      programs and add the maplay through the Add/Remove Programs icon of
  165.      the Control Panel.
  166.    * The same files are contained in archives that do not contain the
  167.      InstallShield setup. These are for people who are having problems
  168.      using InstallShield, or who are having downloading problems. The
  169.      versions with InstallShield are approximately 878 KB; the ones without
  170.      InstallShield are approximately 270 KB.
  171.    * If you plan to use the version with InstallShield, you should
  172.      uninstall version 1.71 or later of maplay, if you have it, before you
  173.      proceed.
  174.    * All of these archives contain the source code. If you are using the
  175.      InstallShield version and want to copy the source code, choose "Custom
  176.      Setup". The source code is automatically unzipped to a /src
  177.      subdirectory if you have the non-InstallShield version.
  178.    * I have reports that the 486 version runs much faster on non-Intel
  179.      CPU's such as AMD's K5 and Cyrix's 6x86.
  180.  
  181. The console version, which should run on Windows 3.1 with Win32s, is also
  182. available here in two flavors:
  183.                             486         Pentium
  184.                         mpcon-4.zip   mpcon-5.zip
  185.  
  186. Please see the above note for non-Intel CPU's.
  187.  
  188. These are the NEWEST versions (1.81), last modified on April 20, 1997. See
  189. the "whatsnew.txt" file for details on the changes.
  190.  
  191. How do I use maplay for Win32?
  192.  
  193. Maplay for Win32 supports command-line playback, so you can associate MP2,
  194. MP3, or MPG files with maplay in the File Manager of Windows Explorer.
  195. Actually, this will now be partially done by the installation program, so
  196. you don't have to do anything yourself. Just select the MP2 (MPEG-1 Layer
  197. II Audio Stream) or LST (playlist) file in Explorer, and double-click! If
  198. you want to associate MP3 files to maplay, you will have to do this
  199. manually. Just delete whatever association you had before, and double-click
  200. on the MP3 file. Use maplay to open the file from now on.You can also use
  201. it as a viewer in Netscape. The MIME type is "audio", and the subtype is
  202. "x-mpeg". Finally, you can use as a stand-alone program, as there is a menu
  203. item to open files. Feel free to E-mail me if you need further
  204. instructions.
  205.  
  206. If you need more powerful playlist abilities, you can use either :
  207.  
  208.    * MP3 Manager, Peter Strnad's playlist creator/launcher.
  209.    * MP3 Jukebox by Niclas Borg.
  210.  
  211. How much does maplay for Win32 cost?
  212.  
  213. Nothing. Well, almost nothing. Of course you still have to pay for the
  214. access time and the long distance charges to download it! I do request that
  215. you e-mail me and tell me if it worked on your system. Also, your generous
  216. donations are welcomed but not required. To donate, please send a check or
  217. money order to:
  218.  
  219.                                  Jeff Tsay
  220.                           1818 Walnut St. Apt. #3
  221.                              Berkeley, CA 94709
  222.  
  223. I'm an extremely poor college student, so anything I receive will go
  224. towards my college education.
  225.  
  226. Are there any bugs in maplay 1.2+ for Win32?
  227.  
  228. Well, as I said before, I'm new at Windows programming, so I'm sure there
  229. are. But the following are the only bugs I know about:
  230.  
  231.    * Due to a memory leak in the waveOut functions of Windows 95, the
  232.      allocated memory slowly increases for large files. There is nothing I
  233.      can do about this.
  234.    * Sometimes the shortcut keys don't work. You just have to use the
  235.      mouse.
  236.  
  237. I'll work on getting rid of these bugs, and if you find any others, please
  238. e-mail me.
  239.  
  240. Where can I get MPEG audio files?
  241.  
  242. Check out my list of MPEG Audio links.
  243.  
  244. How do encode my own MPEG audio files?
  245.  
  246. You can use Cool Edit 96 (with the MPEG audio extensions) or AMPEG 4.3,
  247. which is a DOS program, but considerably faster. (AMPEG now decodes Layer
  248. III files) Also required is the the source code archive that contains the
  249. tables. Remember, before WAV files are encoded, they must be saved in
  250. 16-bit format, with a 32 kHz or above sampling frequency.
  251.  
  252. How do I port maplay 1.2+ to other platforms?
  253.  
  254. The source is much more portable, so it should be relatively easy to
  255. compile for the following platforms:
  256.  
  257.    * IBM AIX
  258.    * Sun SPARC
  259.    * HP-UX
  260.    * Linux
  261.    * SGI Indigo
  262.    * NeXTStep
  263.    * BeBox (although the command-line interface code needs some small
  264.      changes)
  265.  
  266. Please see my porting notes for information on how to port to these and
  267. other platforms. So far no one has ported 1.81 to any other platform (as I
  268. am writing this before the official release!), but I expect that to change
  269. soon. I'll include a list of ports here, once people send them to me.
  270.  
  271. ---------------------------------------------------------------------------
  272.  
  273. Credits
  274.  
  275.    * Original source code by Tobias Bading.
  276.    * Layer III code adopted from the ISO MPEG Audio Subgroup Software
  277.      Simulation Group.
  278.    * Win32 port, interface, and layer III porting and optimizations by Jeff
  279.      Tsay.
  280.    * Additional optimizations/modifications by Conrad Song, Timo Jantunen,
  281.      and and Mikko Tommila. Please see the file credits.txt for the full
  282.      credits.
  283.    * License rights for the original maplay granted by the Free Software
  284.      Foundation, Inc.
  285.    * Borland C++ 5.01 compiler donated by Borland International.
  286.  
  287. I wish to thank the following donators, whose contributions make developing
  288. maplay worth the effort:
  289.  
  290.    * Corky Coreson
  291.    * Rich ??? (sorry, I don't remember your last name)
  292.    * Deutsche Welle Radio via Wilfried Solbach
  293.  
  294. The Future
  295.  
  296. This MPEG decoder is only for MPEG-1 streams. The ability to decode MPEG-2
  297. streams with the Low Frequency Extension will be added ASAP. Also a
  298. playlist creation interface and Netscape plug-in functionality are planned.
  299.  
  300. The latest version of maplay is very portable, so I am waiting for people
  301. to port the code to many other operating systems. I'd like to see versions
  302. for FreeBSD and DOS.
  303. ---------------------------------------------------------------------------
  304.  
  305. [Home] [Anime] [maplay 1.2+ for Win32] [Computer Info] [Japanese for
  306. Windows 95]
  307.  
  308. Need more information? Broken links? Comments? Please contact me at
  309. ctsay@pasteur.eecs.berkeley.edu.
  310.